#coding:utf-8
#从淘宝店铺的url文件列表中获取所有的url链接
import sys

class GetAllList(object):
    def __init__(self,filepath):
        self.filepath = filepath
    def geturllist(self):
        result = []
        with open(self.filepath,'r') as f:
             line = f.readline()
             while line:
                 #print line
                 result.append(line)
                 line = f.readline()
        return result            

'''
test = GetAllList('lisheng.txt')
for url in test.geturllist():
    print url
'''